<table>
	<tr>
		<td>ID</td>
		<td>姓名</td>
		<td>密码</td>
		<td>手机号</td>
		<td>邮箱</td>
		<td>部门</td>
		<td>操作</td>
	</tr>
	<?php foreach($ths as $item):  ?>
	<tr>
		<td><?=$item->id?></td>
		<td><?=$item->name?></td>
		<td width="150"><?=$item->password?></td>
		<td width="150"><?=$item->tel?></td>
		<td width="150"><?=$item->email?></td>
		<td><?=$item->bumen?></td>
		<td><a href="<?php echo site_url('admin/edith/').$item->id;?>">编辑</a><a href="<?php echo site_url('admin/delth/').$item->id;?>">删除</a></td>
	</tr>
	<?php endforeach; ?>

	<tr>
		<td colspan="10">一共 <?php echo $num; ?> 条数据</td>
	</tr>
</table>